﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TopImages.ascx.cs" Inherits="Controls_topImages" %>
<div class="morepicblockf">
    <table runat="server" id="tbl1">
        <tr>
            <td>
                <asp:DataList runat="server" RepeatDirection="Horizontal" ID="rptGalTop4Images">
                    <ItemTemplate>
                        <a href='photos.aspx?gid=<%# Eval("GalleryID") %>&pid=<%# Eval("ID") %>'>
                            <img id="imgGallery" border="0" src='<%=String.Format("../Thumbnails/SquareThumbnail.ashx?img={0}/Gallery/",FUNC.FullAppPath)%><%# Eval("ImagePath") %>&size=64' /></a><br />
                    </ItemTemplate>
                </asp:DataList>
            </td>
            <td>
                <div class="TopImages">
                    <a href='photos.aspx?gid=<%=iGalleryID %>'>
                        <% =FUNC.GetPhrase(32)%></a></div>
            </td>
        </tr>
    </table>
</div>
